package cn.johnyu.repository;

import cn.johnyu.domain.Account;
import org.springframework.data.mongodb.repository.ReactiveMongoRepository;
import org.springframework.stereotype.Repository;
import reactor.core.publisher.Mono;
@Repository
public interface AccountRepository extends ReactiveMongoRepository<Account,String> {
    Mono<Account> findAccountByUsername(String name);
}
